package com.carleasoft.mps.adu.business.org.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.carleasoft.mps.adu.business.org.bean.entity.OrganizationType;
import com.carleasoft.mps.adu.business.org.bean.po.OrgTypePo;
import com.carleasoft.mps.adu.business.org.bean.vo.OrgTypePageQueryVo;
import com.carleasoft.mps.core.user.SortPo;

import java.util.List;

/**
 * <p>
 * 组织分类表 服务类
 * </p>
 *
 * @author ztm
 * @since 2021-09-07
 */
public interface OrganizationTypeService extends IService<OrganizationType> {

    /**
     *
     * @return
     */
    List<OrgTypePageQueryVo> queryOrganizationType(OrgTypePo orgTypePo);

    /**
     * 新增
     * @param organizationType
     * @return
     */
    Boolean addOrganizationType(OrganizationType organizationType);

    /**
     * 删除
     *
     * @param orgTypePo
     * @return
     */
    Boolean deleteOrganizationType(OrgTypePo orgTypePo);

    /**
     * 编辑
     * @param orgTypePo
     * @return
     */
    Boolean updateOrganizationType(OrgTypePo orgTypePo);
    /**
     * 组织排序
     * @param sortPo
     * @return
     */
    Boolean updateSort(SortPo sortPo);

}
